﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Imgur.Net;
using Imgur.Net.Auth;

namespace GurLoader.Service.ImgurTaskBuilder
{
    public class ImageProviderWrapper : IImageProvider
    {
        public ImageProvider Provider { get; private set; }

        public ImageProviderWrapper(ImageProvider provider)
        {
            Provider = provider;
        }

        public void UpdateAuthProvider(ImgurAuthProvider ctx)
        {
            Provider.AuthenticationProvider = ctx;
        }
    }
}
